update doc [ci skip]

Andrew Cantino 11 years ago
parent
commit
457020a0ab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/models/agents/java_script_agent.rb

+ 1 - 1
app/models/agents/java_script_agent.rb

@@ -8,7 +8,7 @@ module Agents
8 8
     description <<-MD
9 9
       This Agent allows you to write code in JavaScript that can create and receive events.  If other Agents aren't meeting your needs, try this one!
10 10
 
11
-      At the moment, all code should be written in the `code` option.  In the future, a full editor will be provided.
11
+      You can put code in the `code` option, or put your code in a Credential and reference it from `code` with `credential:<name>` (recommended).
12 12
 
13 13
       You can implement `Agent.check` and `Agent.receive` as you see fit.  The following methods will be available on Agent in the JavaScript environment:
14 14